import { createRouter, createWebHashHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'
import Overrall from '../views/overallPlanning.vue'
import Vantage from '../views/vantageOfPark.vue'
import ParkStatus from '../views/parkStatus.vue'
import ParkInvest from '../views/parkInvestment.vue'
const routes = [
  
  {
    path: '/',
    name: 'Overrall',
    component: Overrall
  },
  {
    path: '/Vantage',
    name: 'Vantage',
    component: Vantage
  },
  {
    path: '/ParkStatus',
    name: 'ParkStatus',
    component: ParkStatus
  },
  {
    path: '/ParkInvest',
    name: 'ParkInvest',
    component: ParkInvest
  },
  {
    path: '/about',
    name: 'about',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '../views/AboutView.vue')
  }
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
